package com.jacken.mars.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jacken.mars.entity.base.BasePageRequest;
import com.jacken.mars.entity.SysNotice;
import com.jacken.mars.entity.base.PageInfo;
import com.jacken.mars.entity.req.SysNoticeReq;
import com.jacken.mars.entity.vo.SysNoticeVo;

/**
 * SysNotice 接口
 *
 * @Author wq
 * @Date 2021-02-06
 **/
public interface ISysNoticeService extends IService<SysNotice> {


    /**
     * 保存通知类型
     *
     * @param req
     */
    void add(SysNoticeReq req);

    /**
     * 列表通知类型
     *
     * @param req
     * @return
     */
    PageInfo<SysNoticeVo> sysNoticePage(SysNoticeReq req);
}
